﻿using System;
using System.Collections.Generic;
using System.Data.Entity.Config;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Loans.Domain
{
    public class LoansDbConfig : DbConfiguration
    {
        public LoansDbConfig()
        {
            string connectionString = @"Data Source='|DataDirectory|\data.sdf';password=secret";
            SetDefaultConnectionFactory(new SqlCeConnectionFactory("System.Data.SqlServerCe.4.0","",connectionString));
        }
    }
}
